package com.etc.entity;

public class Announcement {
private int a_id;
private User a_user;
private String a_title;
private String a_content;
private String a_time;
public int getA_id() {
	return a_id;
}
public void setA_id(int a_id) {
	this.a_id = a_id;
}

public User getA_user() {
	return a_user;
}
public void setA_user(User a_user) {
	this.a_user = a_user;
}
public String getA_title() {
	return a_title;
}
public void setA_title(String a_title) {
	this.a_title = a_title;
}
public String getA_content() {
	return a_content;
}
public void setA_content(String a_content) {
	this.a_content = a_content;
}
public String getA_time() {
	return a_time;
}
public void setA_time(String a_time) {
	this.a_time = a_time;
}

@Override
public String toString() {
	return "Announcement [a_id=" + a_id + ", a_user=" + a_user + ", a_title=" + a_title + ", a_content=" + a_content
			+ ", a_time=" + a_time + "]";
}
public Announcement() {
	// TODO Auto-generated constructor stub
}
public Announcement(int a_id, User a_user, String a_title, String a_content, String a_time) {
	super();
	this.a_id = a_id;
	this.a_user = a_user;
	this.a_title = a_title;
	this.a_content = a_content;
	this.a_time = a_time;
}
public Announcement(User a_user, String a_title, String a_content) {
	super();
	this.a_user = a_user;
	this.a_title = a_title;
	this.a_content = a_content;
}

}
